﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeviceManager.Device
{
    public interface IPinPad
    {
        bool UserEntry(short MaxKeys, bool AutoEnd, string ActiveKeys, string TerminatorKeys, int Timeout);
        bool GetVariablePIN(short MinLength, short MaxLength, string Format, string CustomerData, short PadChar, 
            string KeyName, string XORData, string SecondKeyName, int Timeout);

        bool CancelUserEntry();
        bool CancelPINEntry();
        bool IsValidKeySet(string keys);
    }
}
